package com.example.pm.ending.server.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 申请类型表
 * @author 范佳阳
 */
@Data
public class ServeTypeAddDTO implements Serializable {
    /**
     * 申请类型id
     */
    @ApiModelProperty(value = "申请类型id", required = true, example = "申请类型id")
    @NotNull(message = "添加申请类型失败，必须提交申请类型id！")
    private Long id;
    /**
     * 申请类型名称
     */
    @ApiModelProperty(value = "申请类型名称", required = true, example = "申请类型名称")
    @NotNull(message = "添加申请类型失败，必须提交申请类型名称！")
    private String name;
    /**
     * 服务类型起始编号
     */
    @ApiModelProperty(value = "服务类型起始编号", required = true, example = "服务类型起始编号")
    @NotNull(message = "添加申请类型失败，必须提交服务类型起始编号！ ")
    private String orderStar;
}
